package com.lmm.lcbusiness.lcbusiness.pages.choosecity;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.lmm.lcbusiness.lcbusiness.R;

import java.util.List;

/**
 * Created by xmgong on 2017/4/25.
 */

public class CityNewAdapter extends BaseQuickAdapter<AreaInfoModel, BaseViewHolder> {

    public CityNewAdapter(List<AreaInfoModel> data) {
        super(R.layout.adapter_citynew, data);
    }

    @Override
    protected void convert(BaseViewHolder baseViewHolder, AreaInfoModel phoneDataModel) {
        baseViewHolder.setText(R.id.tv, phoneDataModel.getTitle());
    }
}
